
    <div id="isi">
		<div class="atas"></div>
		<div class="tengah">
			<div id="isidalam">
				<div class="putihatasCopy"></div>
				<div class="putihtengahCopy">
					<div class="headingform din">Class Schedule</div>
				</div>
				<div class="putihbawahCopy"></div>
				<div class="putihtengahform">
                	<div id="schedule">
						<div id="kategori" class="">
							
								<a href="<?php echo base_url()?>itcourse/itcourse_con/schedules/1">Today</a>
								<a href="<?php echo base_url()?>itcourse/itcourse_con/schedules/2">Tomorrow</a>
								<a href="<?php echo base_url()?>itcourse/itcourse_con/schedules/3">Curent Term</a>
                                                                <a href="<?php echo base_url() ?>itcourse/itcourse_con/schedules/6">Next Term</a>
								<a href="<?php echo base_url()?>itcourse/itcourse_con/schedules/4">Anual</a>
								<a href="<?php echo base_url()?>itcourse/itcourse_con/schedules/5">Specific Class</a>

						</div>
						<div id="isikategori">
                                                    <?php 
                                                        if(isset($tipe)){
                                                            if($tipe=="default"){
                                                                echo '

							<div class="jadwalfor">Available Class</div>
							<div class="jadwalfor2">';
                                                                if(isset($term[0])) 
                                                                    echo 'Term-'.$term[0]['NO_TERM'].' '.$term[0]['TAHUN'];
                                                                echo '</div>';
                                                            if(isset($kelas)){
                                                                for($i=0;$i<count($kelas);$i++){
                                                                    echo '
                                      <p>
                                        <a href="'.base_url().'itcourse/itcourse_con/spesific_class/2/'.$kelas[$i]['KODE_PELATIHAN'].'/'.$kelas[$i]['ANGKATAN'].'"><span class="kodeproduk">'.$kelas[$i]['KODE_PELATIHAN'].'-'.$kelas[$i]['ANGKATAN'].'</span> '.$kelas[$i]['NAMA_PELATIHAN'].'</a>
                                      </p>
                                                                        ';
                                                                }
                                                            }
                                                        
                                                            }
                                                            else{
                                                                if(isset($kelas)){
                                                                echo '
                                                        <div class="jadwalfor">'.$kelas['KODE_PELATIHAN'].'-'.$kelas['ANGKATAN'].' | '.$kelas['NAMA_PELATIHAN'].'</div>
							<div class="jadwalfor2"> '.$kelas['JAM_TOTAL'].' Jam | '.$kelas['SESI'].' Sesi | '.$kelas['SESI_PER_MINGGU'].' Sesi per minggu </div>';
                                                                if(isset($jadwal)){
                                                                    for($i=0;$i<count($jadwal);$i++){
                                                                        echo '
                                                                              <p>
                                                                                <span class="kodeproduk">Sesi-'.$jadwal[$i]['NOMOR_SESI'].'</span>
                                                                                <span>—'.$jadwal[$i]['FORMAT_TANGGAL'].'</span>
                                                                              </p>
                                                                            ';
                                                                    }
                                                                }
                                                                }

                                                            }
                                                        }
                                                    ?>
						</div>
                    </div>
                </div>
				<div class="putihbawah"></div>
			</div>
		</div>

	</div><!---end #isi--->